package com.pqtest.api.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class TestPointCategoryEntity {
    private int id;
    @JsonIgnore
    private int pid;
    @JsonIgnore
    private int lft;
    @JsonIgnore
    private int rgt;
    @JsonIgnore
    private String code;
    @JsonIgnore
    private String pointData;
    @JsonIgnore
    private String pointSetting;
    @NotEmpty(message = "分类名不能为空")
    @JsonProperty("title")
    private String title;
    @JsonProperty("path")
    private String path;

}
